package uk.co.q3c.deplan.client.ui.view;

import uk.co.q3c.deplan.client.ui.view.auto.ProjectTaskViewBase;

public class ProjectTaskViewGWT extends ProjectTaskViewBase {

	private final String definition = "definition";

	public ProjectTaskViewGWT() {
		super();
	}

	@Override
	public void construct() {
		super.construct();
	}

	@Override
	protected void layout() {
		super.layout();
		addBand(definition);
		layoutTopBand();
		layoutDefinition();

	}

	private void layoutTopBand() {
		assignWidgetToBand(nameWidget, topBand);
	}

	private void layoutDefinition() {
		assignWidgetToBand(actualFinishLabel, definition);
		assignWidgetToBand(actualFinishWidget, definition);
	}

}
